/* WHOLE PAGE */

body
{
 max-width: 33em;
 margin: auto;
 padding-right: 0.375em;
 padding-left: 0.375em;
 font-family: Arial;
 font-size: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
tr
{ line-height: 140% }

.minor
{ font-size: 0.75em }



/* COLLAPSIBLES - PLUS */

.collapsibleplussummary
{ cursor: pointer }

.collapsibleplussummary:before
{ content: "[+] " }

.collapsibleplusopen:before
{ content: "[-] " }

.collapsiblepluscontent
{ display: none }



/* COLLAPSIBLES - LINK */

.collapsiblelinksummary
{
 cursor: pointer;
 text-decoration: underline;
}

.collapsiblelinkopen
{ text-decoration: none }

.collapsiblelinkcontent
{
 display: none;
 font-weight: normal;
}



/* POPUPS */

table.tablenumber .popupsummary
{
 cursor: pointer;
 text-decoration: underline;
}

table.tablenumber .popupopen
{ text-decoration: none }

table.tablenumber .popupcontent
{
 display: none;
 text-align: left;
 font-weight: normal;
 background-color: black;
 color: white;
 position: absolute;
 padding-right: 0.375em;
 padding-left: 0.375em;
}

table.tablenumber .popupcontent a
{
 color: white;
}


/* TABLES */

table th,
table td
{
 padding-right: 0.375em;
 padding-left: 0.375em;
}

table
{ border-collapse: collapse }



/* TABLES - TEXT TABLES */

table.tabletext th,
table.tabletext td
{
 border: 1px solid gray;
 vertical-align: middle;
 text-align: left;
}

table.rules th:last-child,
table.rules td:last-child
{ font-size: 0.75em }



/* TABLES - DATA TABLES */

table.tablenumber th,
table.tablenumber td
{
 text-align: right;
 border: 1px solid gray;
 vertical-align: top;
}

table.tablenumber th
{
 position: sticky;
 top: -1px;
 background-color: #F4F4F4;
 background-clip: padding-box;
}

table.tablenumber a
{ color: black }

table.tablenumbernormal td:first-child
{ font-weight: bold }

table.tablearchive tfoot
{ font-size: 0.7em }

table.caps th:first-child,
table.caps td:first-child,
table.caps th:nth-child(2),
table.caps td:nth-child(2),
table.caps th:nth-child(4),
table.caps td:nth-child(4),
table.caps th:nth-child(6),
table.caps td:nth-child(6)
{ text-align: left }

table.caps th:nth-child(4),
table.caps td:nth-child(4)
{ font-size: 0.75em }

table.history th:nth-child(2),
table.history td:nth-child(2),
table.history th:nth-child(3),
table.history td:nth-child(3)
{ text-align: left }

table.history th:nth-child(4),
table.history td:nth-child(4),
table.history th:nth-child(5),
table.history td:nth-child(5),
table.history th:nth-child(6),
table.history td:nth-child(6),
table.history th:nth-child(7),
table.history td:nth-child(7)
{ font-size: 0.75em }

table.history td:nth-child(2),
table.history td:nth-child(8)
{ font-weight: bold }

table.players th:first-child,
table.players td:first-child,
table.players th:nth-child(2),
table.players td:nth-child(2),
table.players th:nth-child(6),
table.players td:nth-child(6)
{ text-align: left }

table.players th:nth-child(2),
table.players td:nth-child(2),
table.players th:nth-child(4),
table.players td:nth-child(4),
table.players th:nth-child(5),
table.players td:nth-child(5)
{ font-size: 0.75em }

table.playersprediction th:first-child,
table.playersprediction td:first-child,
table.playersprediction th:nth-child(8),
table.playersprediction td:nth-child(8)
{ text-align: left }

table.playersprediction th:nth-child(2),
table.playersprediction td:nth-child(2),
table.playersprediction th:nth-child(3),
table.playersprediction td:nth-child(3),
table.playersprediction th:nth-child(4),
table.playersprediction td:nth-child(4),
table.playersprediction th:nth-child(6),
table.playersprediction td:nth-child(6)
{ font-size: 0.75em }

table.playersprediction td:nth-child(5)
{ font-weight: bold }

table.predictedheadtoheads th:nth-child(2),
table.predictedheadtoheads td:nth-child(2),
table.predictedheadtoheads th:nth-child(5),
table.predictedheadtoheads td:nth-child(5)
{
 text-align: left;
 font-weight: bold
}

table.predictedranking th:nth-child(3),
table.predictedranking td:nth-child(3)
{ text-align: left }

table.predictedranking th:first-child,
table.predictedranking td:first-child,
table.predictedranking th:nth-child(4),
table.predictedranking td:nth-child(4),
table.predictedranking th:nth-child(6),
table.predictedranking td:nth-child(6),
table.predictedranking th:nth-child(9),
table.predictedranking td:nth-child(9)
{ font-size: 0.75em }

table.predictedranking th:nth-child(3),
table.predictedranking td:nth-child(3),
table.predictedranking th:nth-child(5),
table.predictedranking td:nth-child(5)
{ font-weight: bold }

table.ranking th:nth-child(4),
table.ranking td:nth-child(4)
{ text-align: left }

table.ranking th:first-child,
table.ranking td:first-child,
table.ranking th:nth-child(3),
table.ranking td:nth-child(3),
table.ranking th:nth-child(5),
table.ranking td:nth-child(5),
table.ranking th:nth-child(6),
table.ranking td:nth-child(6),
table.ranking th:nth-child(7),
table.ranking td:nth-child(7),
table.ranking th:nth-child(8),
table.ranking td:nth-child(8),
table.ranking th:nth-child(10),
table.ranking td:nth-child(10),
table.ranking th:nth-child(11),
table.ranking td:nth-child(11),
table.ranking th:nth-child(12),
table.ranking td:nth-child(12)
{ font-size: 0.75em }

table.ranking td:nth-child(4),
table.ranking td:nth-child(9)
{ font-weight: bold }

table.scouts th:first-child,
table.scouts td:first-child,
table.scouts th:nth-child(3),
table.scouts td:nth-child(3),
table.scouts th:nth-child(4),
table.scouts td:nth-child(4)
{ text-align: left }

---

table.playersarchive th:nth-child(2),
table.playersarchive td:nth-child(2),
table.playersarchive th:nth-child(17),
table.playersarchive td:nth-child(17)
{ text-align: left }

table.playersarchive th:nth-child(3),
table.playersarchive td:nth-child(3),
table.playersarchive th:nth-child(5),
table.playersarchive td:nth-child(5),
table.playersarchive th:nth-child(11),
table.playersarchive td:nth-child(11),
table.playersarchive th:nth-child(13),
table.playersarchive td:nth-child(13),
table.playersarchive th:nth-child(15),
table.playersarchive td:nth-child(15)
{ font-weight: bold }

table.playersinfo th:first-child,
table.playersinfo td:first-child,
table.playersinfo th:nth-child(3),
table.playersinfo td:nth-child(3),
table.playersinfo th:nth-child(4),
table.playersinfo td:nth-child(4),
table.playersinfo th:nth-child(5),
table.playersinfo td:nth-child(5),
table.playersinfo th:nth-child(6),
table.playersinfo td:nth-child(6),
table.playersinfo th:nth-child(7),
table.playersinfo td:nth-child(7)
{ text-align: left }


table.predictedheadtoheadsarchive th:nth-child(4),
table.predictedheadtoheadsarchive td:nth-child(4),
table.predictedheadtoheadsarchive th:nth-child(5),
table.predictedheadtoheadsarchive td:nth-child(5)
{ text-align: left }

table.rankingsarchive th:nth-child(6), /* Scout */
table.rankingsarchive td:nth-child(6)
{ text-align: left }

table.rankingsarchive th:nth-child(4), /* Rank */
table.rankingsarchive td:nth-child(4),
table.rankingsarchive th:nth-child(6), /* Scout */
table.rankingsarchive td:nth-child(6),
table.rankingsarchive th:nth-child(7), /* Player pts gain / avg. no. of NT matches */
table.rankingsarchive td:nth-child(7),
table.rankingsarchive th:nth-child(9), /* Player pts */
table.rankingsarchive td:nth-child(9),
table.rankingsarchive th:nth-child(13), /* Scout pts */
table.rankingsarchive td:nth-child(13),
table.rankingsarchive th:nth-child(16), /* Prd rank */
table.rankingsarchive td:nth-child(16),
table.rankingsarchive th:nth-child(18), /* Lo prd */
table.rankingsarchive td:nth-child(18),
table.rankingsarchive th:nth-child(20), /* Prd */
table.rankingsarchive td:nth-child(20),
table.rankingsarchive th:nth-child(22), /* Hi prd */
table.rankingsarchive td:nth-child(22),
table.rankingsarchive th:nth-child(24), /* % Win */
table.rankingsarchive td:nth-child(24),
table.rankingsarchive th:nth-child(26), /* % Podium */
table.rankingsarchive td:nth-child(26)
{ font-weight: bold }

---

table.tablenumberranking th:nth-child(2),
table.tablenumberranking td:nth-child(2)
{
 font-weight: bold;
 text-align: left;
}

table.scoutranking th:nth-child(3),
table.scoutranking td:nth-child(3),
table.scoutranking th:nth-child(4),
table.scoutranking td:nth-child(4),
table.scoutranking th:nth-child(5),
table.scoutranking td:nth-child(5),
table.scoutranking th:nth-child(6),
table.scoutranking td:nth-child(6)
{ font-size: 0.75em }

table.tablenumberrankingwithgain th:nth-child(4),
table.tablenumberrankingwithgain td:nth-child(4)
{
 font-weight: bold;
 text-align: left;
}




/* TABLES - NAVIGATION TABLES */

table.tablenavigation
{
 width: 100%;
 border: none;
}

table.tablenavigation td
{ width: 33% }

table.tablenavigation td:first-child
{ text-align: left }

table.tablenavigation td:nth-child(2)
{ text-align: center }

table.tablenavigation td:last-child
{ text-align: right }



/* GUEST PAGES - WHOLE PAGE */

body.playersinfo
{ max-width: 50em }

body.playersarchive
{ max-width: 60em }

body.rankingsarchive
{ max-width: 90em }

body.rankingsevolution
{
 min-width: 700px;
 max-width: none;
}